home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / JAVA_ALL / KAFFE-0.2 / KAFFE / LOCKS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-30  |  613 b   |  25 lines

  1. /*
  2.  * locks.h
  3.  * Manage locking system
  4.  * This include the mutex's and cv's.
  5.  *
  6.  * Copyright (c) 1996 Systems Architecture Research Centre,
  7.  *           City University, London, UK.
  8.  *
  9.  * See the file "license.terms" for information on usage and redistribution
  10.  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  11.  *
  12.  * Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February 1996.
  13.  */
  14.  
  15. #ifndef __locks_h
  16. #define __locks_h
  17.  
  18. void lockMutex(struct _object*);
  19. void unlockMutex(struct _object*);
  20. void waitCond(struct _object*, long long);
  21. void signalCond(struct _object*);
  22. void broadcastCond(struct _object*);
  23.  
  24. #endif
  25.